package cn.itcast.jk.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import cn.itcast.jk.domain.Contract;
import cn.itcast.jk.domain.Export;
import cn.itcast.jk.pagination.Page;

public interface ExportService {
	public List<Export> findPage(Page page);	
	public List<Export> find(Map paraMap);		
	public Export get(String id);			
	
	public void insert(String[] contractIds);	
	public void update(Export export,			
			String[] mr_id,
			Integer[] mr_orderNo,
			Integer[] mr_cnumber,
			Double[] mr_grossWeight,
			Double[] mr_netWeight,
			Double[] mr_sizeLength,
			Double[] mr_sizeWidth,
			Double[] mr_sizeHeight,
			Double[] mr_exPrice,
			Double[] mr_tax,
			Integer[] mr_changed
		);
	public void deleteById(Serializable id);	
	public void delete(Serializable[] ids);		
	
	public void submit(Serializable[] ids);		
	public void cancel(Serializable[] ids);		
	
	public List<Contract> getContractList();
	//拼接js串
	public String getMrecordData(String exportId);		
}
